package ooday04;

public class Dog extends Animals implements Swim{
    Dog(String name,int age,String color){
        super(name,age,color);
    }
    void eat(){
        System.out.println(name+"爱吃骨头");
    }
    public void swim(){
        System.out.println(name+"会游泳");
    }
}
